package cn.brilliantfuture.commentry.service;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.core.Application;


/**
 * 
 * Title: Communication Entry
 * 
 * Author:  LiTian  
 *
 * Date: 2012-3-24
 * 
 * Description:
 * 
 */
public class TransactionApplication extends Application{
	
	HashSet<Object> singletons = new HashSet<Object>();
	
	public TransactionApplication() {
		singletons.add(new TransactionService());
		singletons.add(new TransactionService2DOT0());
	}

	@Override
	public Set<Class<?>> getClasses() {
		HashSet<Class<?>> set = new HashSet<Class<?>>();
		return set;
	}
	
	@Override
	public Set<Object> getSingletons() {
		return singletons;
	}
}
